home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000395_news@columbia.edu_Tue Nov 14 19:54:38 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA21171
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun>); Wed, 15 Nov 1995 08:29:55 -0500
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.6.12/8.6.12) id IAA17731 for kermit.misc@watsun; Wed, 15 Nov 1995 08:29:52 -0500
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!gatech2!pirates!cssun.mathcs.emory.edu!swrinde!cs.utexas.edu!news.ti.com!news.itg.ti.com!usenet
  5. From: rusty@iefm770.itg.ti.com (Rusty Haddock)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: OS/2 Kermit 5A(191) can I remap the right control key?
  8. Followup-To: comp.protocols.kermit.misc
  9. Date: 14 Nov 1995 19:54:38 GMT
  10. Organization: 1/entropy
  11. Lines: 37
  12. Distribution: world
  13. Message-Id: <48as5u$45p@dsk92.itg.ti.com>
  14. References: <Pine.SUN.3.90.951112204044.19851A-100000@bronze.coil.com> <48a6nq$rgk@apakabar.cc.columbia.edu>
  15. Reply-To: rusty@ti.com (Rusty Haddock)
  16. Nntp-Posting-Host: iefm770.itg.ti.com
  17. X-Newsreader: IBM NewsReader/2 v1.2
  18. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  19.  
  20. Frank da Cruz writes:
  21.   >In article <Pine.SUN.3.90.951112204044.19851A-100000@bronze.coil.com>,
  22.   >Mark T. Regan <reganm@coil.com> wrote:
  23.   >: Is there a way to remap the right control key? I would like it to be Enter,
  24.   >: and the original Enter to be something else (3270 New Line), when I use
  25.   >: Kermit through a protocol converter. When I use SHOW KEY, the right control
  26.   >: key doesn't produce any scan code.
  27.   >: 
  28.   >There is no way to map modifier keys (Ctrl, Alt, Shift, Caps Lock) by
  29.   >themselves.  In general, if you can't get a scan code with SHOW KEY, you
  30.   >can't map the key.
  31.   >- Frank
  32.  
  33. Even if you do get a scan code from SHOW KEY it won't necessarily be
  34. accepted by SET KEY.  Case in point:
  35.  
  36.     [C:\] C-Kermit>show key<CR>
  37.      Press key: {Press Shift PageUp}
  38.      Key code \841 => Undefined
  39.     [C:\] C-Kermit>set key \841 ?Invalid: set key \841
  40.     [C:\] C-Kermit>set key _
  41.  
  42. After pressing the 1 in 841 the error message is displayed.
  43.  
  44. There are other key-combo/scan codes for which happens as well.  There is
  45. a work around though.  I have found that by converting the scan code to
  46. hexadecimal it will be accepted by SET KEY (e.g. SET KEY \x349 \Kscnup).
  47. This is for C-Kermit 5A(191) for OS/2 (I'm running version 3.0 on an IBM
  48. PS/2 Model 77).
  49.  
  50.     -Rusty-
  51. --
  52. Rusty Haddock, KD4WLZ    MSGID:  MWH2           ___
  53. Texas Instruments    Internet: rusty@ti.com    |\/  o\  O
  54. POB 869305  MS 8515    Phone: (214) 575-6838    |  ( -< o O
  55. Plano, Texas  75086    Fax:   (214) 575-4351    |/\_V_/
  56.